package com.ruoyi.qiushi.mapper.followup;

import com.ruoyi.qiushi.domain.followup.QiushiForm;

import java.util.List;

/**
 * 问答单Mapper接口
 *
 * @author ruoyi
 * @date 2023-12-19
 */
public interface QiushiFormMapper {

    public String selectNameById(Long id);

    /**
     * 查询问答单
     *
     * @param id 问答单主键
     * @return 问答单
     */
    public QiushiForm selectQiushiFormById(Long id);

    /**
     * 查询问答单列表
     *
     * @param qiushiForm 问答单
     * @return 问答单集合
     */
    public List<QiushiForm> selectQiushiFormList(QiushiForm qiushiForm);

    /**
     * 新增问答单
     *
     * @param qiushiForm 问答单
     * @return 结果
     */
    public int insertQiushiForm(QiushiForm qiushiForm);

    /**
     * 修改问答单
     *
     * @param qiushiForm 问答单
     * @return 结果
     */
    public int updateQiushiForm(QiushiForm qiushiForm);

    /**
     * 删除问答单
     *
     * @param id 问答单主键
     * @return 结果
     */
    public int deleteQiushiFormById(Long id);
}
